package com.howe.consumer.controller;

import com.howe.pkg.service.external.ITestService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @DubboReference
    ITestService testService;

    @GetMapping("/test")
    public String test(){
        return testService.sayHello();
    }
}
